home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
Comm
/
AmiTCP30b2.lha
/
src
/
examples
/
GNUmakefile
next >
Wrap
Makefile
|
1994-04-13
|
2KB
|
65 lines
# $Id: GNUmakefile,v 1.2 1994/04/12 22:24:39 jraja Exp $
#
# GNUmakefile for AmiTCP/IP examples
#
# Authors: ppessi <Pekka.Pessi@hut.fi>
# jraja <Jarno.Rajahalme@hut.fi>
# too <Tomi.Ollila@cs.hut.fi>
# puhuri <Markus.Peuhkuri@hut.fi>
#
# Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
# Helsinki University of Technology, Finland.
# All rights reserved.
#
# Created : Sat Mar 20 02:44:57 1993 ppessi
# Last modified: Wed Apr 13 01:24:22 1994 jraja
#
MAKE = gmake
RM= delete
RM_RECURSIVE= delete all
MKDIR= makedir
DIST_EXAMPLES = $(DIST)/examples
RPCSRC= rpc/dir/SCOPTIONS rpc/dir/Smakefile rpc/dir/dir.x \
rpc/dir/dir_proc.c rpc/dir/rls.c \
rpc/msg/SCOPTIONS rpc/msg/Smakefile rpc/msg/msg.x \
rpc/msg/msg_proc.c rpc/msg/printmsg.c rpc/msg/rprintmsg.c \
rpc/sort/SCOPTIONS rpc/sort/Smakefile rpc/sort/rsort.c \
rpc/sort/sort.x rpc/sort/sort_proc.c
SERVSRC=serv/Smake.def serv/in.example.c
SRCS= $(RPCSRC) $(SERVSRC) Smakefile GNUmakefile
all:
DIST: $(DIST_EXAMPLES)
$(DIST_EXAMPLES): $(SRCS)
test -d $(DIST) || mkdir $(DIST)
test -d $(DIST_EXAMPLES) || mkdir $(DIST_EXAMPLES)
tar cf - $(SRCS) | (cd $(DIST_EXAMPLES); tar xf -)
RELEASE: $(SRCS)
for F in $(SRCS) ; do \
rlog -R $$F && { \
if ident -q $$F | fgrep '$$' >/dev/null ; \
then rcs -q '-N$(RELEASE):$$' $$F ; \
else rcs -q '-N$(RELEASE):' $$F ;\
fi ; \
} ;\
done
locks:
@rlog -R -L $(SRCS)
mylocks:
@rlog -R -l`whoami` -L $(SRCS)
verlocks:
@rlog -h -L $(SRCS)